Skip to main content

References from GAC


Description

When you use C# snippets, you get access to all the features of this language. For example, it includes a huge library of classes and methods that cover most typical tasks.

You can find descriptions of different classes and what they can do on the .NET Framework Class Library page.

But if you can’t find a class that solves your problem, you can use a third-party library. To do this, add the References from GAC action to your project, where you can connect a separate class library.


How to add it to your project?

Via the context menu: Add action → Your code → References from GAC.

How to add to your project

Or through the Static Block Panel → Add → Add References from GAC:

Static Block Panel


How to work with this action?

How to work with this action

When you open the action or the corresponding item from the Static Block Panel, a window pops up that lists all the libraries currently connected.

With the Add button, you can add your own library—either by picking it from the list or by loading it from a file.

add your own library

You can also use the filter to search:

with filter

Once the library you need is added, you’ll have to set a new namespace for it. Do this with the Using directives and shared code action, which we cover in a neighboring article.